<template>
  <svg
    class="yindu-icon"
    width="24"
    height="24"
    viewBox="0 0 24 24"
    fill="none"
    xmlns="http://www.w3.org/2000/svg"
  >
    <path
      d="M8.21867 3V4.81128H12V9.99566H8.21867V13H6.70393V9.99566H3V4.81128H6.70393V3H8.21867ZM8.21867 6.2321V8.55314H10.4963V6.2321H8.21867ZM4.48157 8.55314H6.70393V6.2321H4.48157V8.55314Z"
      fill="black"
    />
    <path
      d="M18.2086 18.4427H14.6832L13.9251 21H12L15.3329 11H17.6671L21 21H18.9666L18.2086 18.4427ZM17.7273 16.8504L16.4519 12.5199L15.1644 16.8504H17.7273Z"
      fill="black"
    />
    <path
      d="M4 14V18C4 19.1046 4.89543 20 6 20H10M20 10V6C20 4.89543 19.1046 4 18 4H14"
      stroke="black"
      stroke-width="1.5"
    />
  </svg>
</template>

<script setup lang="ts">
type Props = {
  fill?: string;
};

const props = withDefaults(defineProps<Props>(), {
  fill: "#323232",
});

const fillColor = computed(() => {
  return props.fill;
});
</script>
<style scoped lang="less">
.yindu-icon {
  & path,
  & polygon {
    fill: v-bind(fillColor);
  }
}
</style>
